package com.ruicar.afs.cloud.basic.api.fegin.exempt;

import com.ruicar.afs.cloud.basic.api.dto.BatchPenaltyExemptDetailsDTO;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;
import java.util.Map;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description:
 */
@FeignClient(value = "${com.ruicar.service-names.basic-server}",contextId = "batch-penalty-exempt")
public interface BatchPenaltyExemptService {
    /**
     * 批量罚息豁免数据获取
     */
    @ApiOperation("批量罚息豁免数据获取")
    @PostMapping(value = "batchPenaltyExempt/findByContractNo")
    IResponse<List<BatchPenaltyExemptDetailsDTO>> batchPenaltyExempt(@RequestBody BatchPenaltyExemptDetailsDTO dto);
}
